package jianzhi_offer;

public  class ListNode {
	int val;
	ListNode next = null;
	ListNode(int val) {
		this.val = val;
	}


	public static void printList(ListNode root){
		while(root != null){
			System.out.println(root.val);
			root = root.next;
		}
	}
}
